package com.igroupes.ovineherd.service;


import com.igroupes.ovineherd.vo.ResultVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;

public interface FileService {
    ResultVO upload(InputStream inputStream, HttpServletRequest request);

    void download(String key, HttpServletRequest request, HttpServletResponse response) throws IOException;
}
